package com.bit.silverstar;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

public class charater {

	private Bitmap cat;
	private int position;
	Context mContext;

	
	public charater(Context context){
		mContext= context;
	}
	public Bitmap chosecat(int num){
		if(num ==0){
			cat=BitmapFactory.decodeResource(mContext.getResources(),R.drawable.character1);
			return cat;
		}else if(num ==1){
			cat=BitmapFactory.decodeResource(mContext.getResources(),R.drawable.character2);
			return cat;
		}else if(num==2){
			cat=BitmapFactory.decodeResource(mContext.getResources(),R.drawable.character3);
			return cat;
		}else if(num==3){
			cat=BitmapFactory.decodeResource(mContext.getResources(),R.drawable.character4);
			return cat;
		}
		return null;
	}
	public int getPosition() {
		return position;
	}
	public void setPosition(int position) {
		this.position = position;
	}

}
